Add remote repository
1
| git remote add origin git@github.com:...
|
origin
is the name of the repository
Check remote repository settings:
Before push to remote repository, make sure the branch name is the same.
Branch
find all the branch
find all the branch on remote repository
Rename
1
| git branch -m oldBranchName newBranchName
|
Move to branch:
1
| git checkout [branchname/SHA-1]
|